diff --git a/Doc/tools/templates/download.html b/Doc/tools/templates/download.html index 66e09cc..2a885d7 100644 --- a/Doc/tools/templates/download.html +++ b/Doc/tools/templates/download.html @@ -7,55 +7,96 @@ {% endif %} {% block body %} -
Last updated on: {{ last_updated }}.
{% endif %} +{% if last_updated %} +{% trans %}Last updated on: {{ last_updated }}.{% endtrans %}
+{% endif %} -To download an archive containing all the documents for this version of -Python in one of various formats, follow one of links in this table. The numbers -in the table are the size of the download files in megabytes.
+{% trans %}To download an archive containing all the documents for +this version of Python in one of various formats, follow one of links +in this table. The numbers in the table are the size of the download +files in megabytes.{% endtrans %}
Format | Packed as .zip | Packed as .tar.bz2 |
---|---|---|
PDF (US-Letter paper size) | -Download (ca. 8 MB) | -Download (ca. 8 MB) | +
{% trans %}Format{% endtrans %} | +{% trans %}Packed as .zip{% endtrans %} | +{% trans %}Packed as .tar.bz2{% endtrans %} | +
{% trans %}PDF (US-Letter paper size){% endtrans %} | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} + | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} + |
PDF (A4 paper size) | -Download (ca. 8 MB) | -Download (ca. 8 MB) | +
{% trans %}PDF (A4 paper size){% endtrans %} | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 8 MB){% endtrans %} |
HTML | -Download (ca. 6 MB) | -Download (ca. 4 MB) | +
{% trans %}HTML{% endtrans %} | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 6 MB){% endtrans %} + | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 4 MB){% endtrans %} + |
Plain Text | -Download (ca. 2 MB) | -Download (ca. 1.5 MB) | +
{% trans %}Plain Text{% endtrans %} | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 2 MB){% endtrans %} + | ++ + {% trans %}Download{% endtrans %} + {% trans %}(ca. 1.5 MB){% endtrans %} + |
These archives contain all the content in the documentation.
+{% trans %}These archives contain all the content in the +documentation.{% endtrans %}
-HTML Help (.chm) files are made available in the "Windows" section -on the Python -download page.
+{% trans download_page="https://www.python.org/download/releases/{{ release[:5] }}/" %}HTML Help +(.chm) files are made available in the "Windows" section +on the Python download page.{% endtrans %}
-Unix users should download the .tar.bz2 archives; these are bzipped tar -archives and can be handled in the usual way using tar and the bzip2 -program. The InfoZIP unzip program can be -used to handle the ZIP archives if desired. The .tar.bz2 archives provide the -best compression and fastest download times.
+{% trans %}Unix users should download the .tar.bz2 archives; these +are bzipped tar archives and can be handled in the usual way using tar +and the bzip2 program. The InfoZIP unzip +program can be used to handle the ZIP archives if desired. The +.tar.bz2 archives provide the best compression and fastest download +times.{% endtrans %}
-Windows users can use the ZIP archives since those are customary on that -platform. These are created on Unix using the InfoZIP zip program.
+{% trans %}Windows users can use the ZIP archives since those are +customary on that platform. These are created on Unix using the +InfoZIP zip program.{% endtrans %}
-If you have comments or suggestions for the Python documentation, please send -email to docs@python.org.
+{% trans %}If you have comments or suggestions for the Python +documentation, please send email to +docs@python.org.{% endtrans %}
{% endblock %} diff --git a/Doc/tools/templates/indexcontent.html b/Doc/tools/templates/indexcontent.html index 7f85470..3da2605 100644 --- a/Doc/tools/templates/indexcontent.html +++ b/Doc/tools/templates/indexcontent.html @@ -1,59 +1,59 @@ {% extends "defindex.html" %} {% block tables %} -Parts of the documentation:
+{% trans %}Parts of the documentation:{% endtrans %}
- What's new in Python {{ version }}? Tutorial Library Reference Language Reference Python Setup and Usage Python HOWTOs {% trans %}What's new in Python {{ version }}?{% endtrans %} {% trans %}Tutorial{% endtrans %} {% trans %}Library Reference{% endtrans %} {% trans %}Language Reference{% endtrans %} {% trans %}Python Setup and Usage{% endtrans %} {% trans %}Python HOWTOs{% endtrans %} |
- Extending and Embedding Python/C API Installing Python Modules Distributing Python Modules FAQs {% trans %}Extending and Embedding{% endtrans %} {% trans %}Python/C API{% endtrans %} {% trans %}Installing Python Modules{% endtrans %} {% trans %}Distributing Python Modules{% endtrans %} {% trans %}FAQs{% endtrans %} |
Indices and tables:
+{% trans %}Indices and tables:{% endtrans %}
- Global Module Index General Index Glossary {% trans %}Global Module Index{% endtrans %} {% trans %}General Index{% endtrans %} {% trans %}Glossary{% endtrans %} |
- Search page Complete Table of Contents {% trans %}Search page{% endtrans %} {% trans %}Complete Table of Contents{% endtrans %} |
Meta information:
+{% trans %}Meta information:{% endtrans %}
- - + + | - - + + |
{% trans %}Download these documents{% endtrans %}
+